package com.app.diary.data.model;

public class WeatherResponse {

    private String code; // 响应状态码
    private String message; // 错误消息
    private Now now; // 当前天气信息

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Now getNow() {
        return now;
    }

    public void setNow(Now now) {
        this.now = now;
    }

    public static class Now {
        private String text; // 天气描述
        private String temp; // 温度
        private String icon; // 天气状况图标代码
        private String obsTime; // 观测时间

        // Getter and Setter methods for all fields...

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getTemp() {
            return temp;
        }

        public void setTemp(String temp) {
            this.temp = temp;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getObsTime() {
            return obsTime;
        }

        public void setObsTime(String obsTime) {
            this.obsTime = obsTime;
        }
    }
}